package com.eagle.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 付款凭证
 * </p>
 *
 * @author zhaojinpeng
 * @since 2017-04-20
 */
@TableName("payment_voucher")
public class PaymentVoucher extends Model<PaymentVoucher> {

    private static final long serialVersionUID = 1L;

    /**
     * 付款凭证标识
     */
	@TableId(value="PAYMENT_VOUCHER_ID", type= IdType.AUTO)
	private Long paymentVoucherId;
    /**
     * 付款单明细标识
     */
	@TableField("PAYMENT_LIST_DETAIL_ID")
	private Long paymentListDetailId;
    /**
     * 图片名称
     */
	@TableField("IMG_NAME")
	private String imgName;
    /**
     * 图片大小
     */
	@TableField("IMG_SIZE")
	private Integer imgSize;


	public Long getPaymentVoucherId() {
		return paymentVoucherId;
	}

	public void setPaymentVoucherId(Long paymentVoucherId) {
		this.paymentVoucherId = paymentVoucherId;
	}

	public Long getPaymentListDetailId() {
		return paymentListDetailId;
	}

	public void setPaymentListDetailId(Long paymentListDetailId) {
		this.paymentListDetailId = paymentListDetailId;
	}

	public String getImgName() {
		return imgName;
	}

	public void setImgName(String imgName) {
		this.imgName = imgName;
	}

	public Integer getImgSize() {
		return imgSize;
	}

	public void setImgSize(Integer imgSize) {
		this.imgSize = imgSize;
	}

	public static final String PAYMENT_VOUCHER_ID = "PAYMENT_VOUCHER_ID";

	public static final String PAYMENT_LIST_DETAIL_ID = "PAYMENT_LIST_DETAIL_ID";

	public static final String IMG_NAME = "IMG_NAME";

	public static final String IMG_SIZE = "IMG_SIZE";

	@Override
	protected Serializable pkVal() {
		return this.paymentVoucherId;
	}

}
